{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load static %}
{% load django_bootstrap5 %}
{% block title %}Change document shepherd for {{ doc.name }}-{{ doc.rev }}{% endblock %}
{% block pagehead %}{{ form.media.css }}{% endblock %}
{% block content %}
    {% origin %}
    <h1>
        Change document shepherd
        <br>
        <small class="text-body-secondary">{{ doc.name }}-{{ doc.rev }}</small>
    </h1>
    <p>
        The shepherd needs to have a Datatracker account. A new account can be
        <a href="{% url "ietf.ietfauth.views.create_account" %}">created here</a>.
    </p>
    <form enctype="multipart/form-data" method="post">
        {% csrf_token %}
        {% bootstrap_form form %}
        <button type="submit" class="btn btn-primary">Save</button>
        <a class="btn btn-secondary float-end"
           href="{% url "ietf.doc.views_doc.document_main" name=doc.name %}">Back</a>
    </form>
{% endblock %}
{% block js %}{{ form.media.js }}{% endblock %}